export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  column: [
    {
      type: 'input',
      label: '标题',
      prop: 'title',
      span: 24,
      width: 240
    },
    {
      type: 'select',
      label: '请假类型',
      prop: 'type',
      span: 12,
      search: true,
      props: { label: 'label', value: 'value' },
      dicData: [
        { label: '调体', value: '1' },
        { label: '事假', value: '2' },
        { label: '年假', value: '3' }
      ]
    },
    {
      type: 'input',
      label: '请假天数',
      prop: 'days',
      span: 12
    },
    {
      type: 'datetime',
      label: '开始时间',
      prop: 'startTime',
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      span: 12
    },
    {
      type: 'datetime',
      label: '结束时间',
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      prop: 'endTime',
      span: 12
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createTime',
      span: 12,
      display: false
    },
    {
      type: 'input',
      label: '状态',
      prop: 'status',
      display: false,
      span: 12,
      props: { label: 'label', value: 'value' },
      dicData: [
        { label: '草稿', value: 0 },
        { label: '审批中', value: 1 },
        { label: '完结', value: 2 },
        { label: '终止', value: 99 }
      ]
    },
    {
      type: 'textarea',
      label: '备注',
      prop: 'note',
      span: 24
    }
  ]
}
